package lab02.test13;

/**
 * Created by admin on 2017/10/19.
 */
public class Gymnastics extends ComputerAverage {
    @Override
    double average() {
        double sum=0;
        for (int i=1;i<=3;i++){

            sum+=scores[i];
        }
        return sum/3;
    }
}
